package com.zmn.oms.third.taobao.dto;

import lombok.Data;

/**
 * 类描述：淘宝获取访问token对象
 *
 * @author LiangHailong
 * @date 2019/06/21 18:37
 */
@Data
public class TaobaoAccessToken {
    private String accessToken; // token
    private long expireTime;    // 申请时间
    private long expiresIn;      // 有效时间

    @Override
    public String toString() {
        return String.format("{accessToken:\"%s\", expireTime:%d, expireIn:%d}", accessToken, expireTime, expiresIn);
    }
}
